import 'package:flutter/foundation.dart';

class Constant {

  /// App运行在Release环境时，inProduction为true；当App运行在Debug和Profile环境时，inProduction为false
  static const bool inProduction  = kReleaseMode;

  static bool isDriverTest  = false;
  static bool isUnitTest  = false;
  
  static const int pageSize = 20;


  static const String data = 'data';
  static const String msg = 'msg';
  static const String code = 'code';

  static const String keyGuide = 'keyGuide';
  static const String phone = 'phone';
  static const String deviceId = 'deviceId';

  static const String loginInfo = 'loginInfo';
  static const String userInfo = 'userInfo';

  static const String theme = 'AppTheme';
  static const String locale = 'locale';

}

const int intMax = 9007199254740992;

const double goodsRatio = 173 / 300;